package br.nextfm.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue(value="A")
public class Administrador extends Usuario {

	private String pin;

	public Administrador() {
		
	}
	
	public Administrador(String nome, String login, String senha, String email, String pin) {
		super(nome, login, senha, email);
		this.pin = pin;
	}
	
	public String getPin() {
		return pin;
	}

	public void setPin(String pin) {
		this.pin = pin;
	}
	
}
